﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Gerenciador/Gerenciador.Master" AutoEventWireup="true" CodeBehind="formGaleira.aspx.cs" Inherits="CasaisEmEdificacao.Gerenciador.galeria.formGaleira" %>
<asp:Content ID="Content1" ContentPlaceHolderID="titulo" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="script" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="modulo" runat="server">
    Modulo Galeira de Imagens
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pagina" runat="server">
    Formulário de cadastro/alteração de galerias
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="acoesModulo" runat="server">
    <h1>
        <asp:HyperLink ID="linkListarGaleria" NavigateUrl="~/Gerenciador/galeria/index.aspx"  runat="server">Listar galeria</asp:HyperLink>
    </h1>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="conteudo" runat="server">
    <asp:Label ID="lblTituloForm" runat="server" Text="Formulário" CssClass="lblTituloForm"></asp:Label>
    <hr class="linhaHrTitulo"/>
    <asp:HiddenField ID="txtCodGaleria" runat="server" />
    <table>
        <tr>
            <td>
                <asp:Label ID="lblNome" runat="server" Text="Título" CssClass="LblForm"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:TextBox ID="txtNome" MaxLength="255" runat="server" Width="750"></asp:TextBox>
            </td>
        </tr>
        <tr><td><br /></td></tr>

        <tr>
            <td>
                <asp:Label ID="lblDescricao" runat="server" Text="Descrição" CssClass="LblForm"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:TextBox ID="txtDescricao" MaxLength="500" runat="server" Width="750"></asp:TextBox>
            </td>
        </tr>
        <tr><td><br /></td></tr>

        <tr>
            <td>
                <asp:Label ID="lblStatus" runat="server" Text="Status" CssClass="LblForm"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:DropDownList ID="ddlStatus" runat="server">
                    <asp:ListItem Value="">Selecione</asp:ListItem>
                    <asp:ListItem Value="0">Inativo</asp:ListItem>
                    <asp:ListItem Value="1">Ativo</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr><td><br /></td></tr>

        <tr>
            <td align="right">
                <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" 
                    onclick="btnCancelar_Click" />
                <asp:Button ID="btnEditar" runat="server" Text="Editar" 
                    onclick="btnEditar_Click" />
                <asp:Button ID="btnSalvar" runat="server" Text="Salvar" 
                    onclick="btnSalvar_Click" />
            </td>
        </tr>

    </table>
</asp:Content>

